<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>许愿墙</title>
  <link rel="stylesheet" href="/stylesheets/index.css"> 
  <script src="/javascripts/index.js"></script>
</head>
<body>
  <h2>快来写上你的愿望吧</h2>
  {{each list as item}}
  <div class="item">
    <h4>{{item.name}}：</h4>
    <P>{{item.content}}</P>
  </div>
  {{/each}}
  <form action="add" method="post">
    <div class="footer">
      <input type="text" placeholder="请输入您的昵称" id="name" name="name"></input>
      <textarea rows="4" placeholder="请输入您的许愿信息" id="content" name="content"></textarea>
      <button type="submit">提交</button>
    </div>
  </form>
</body>
</html>
